function comment(){
    var commentContent = document.getElementById("comment-content");
    var imgID = document.getElementById("img-id").value;
    var ajax = new XMLHttpRequest();
    var formObj = new FormData(document.getElementById('comment-form'));
    var url = '/comment/'+window.uid+'/'+imgID;
    alert(commentContent+"|||"+imgID+"|||"+url);
    //ajax.open('post',url,false);
    //ajax.send(formObj);
    //if(ajax.readyState==4 && ajax.status==200){
    //    alert("succeed");
    //}
}